'use strict';

module.exports = app => {
  const { STRING, INTEGER, DATE, BOOLEAN, TEXT } = app.Sequelize;

  const KnowledgeExperimentMap = app.model.define('knowledgeExperimentMap', {
    id: {
      type: INTEGER(11),
      primaryKey: true
    },
    knowledge_id: INTEGER(11),
    experiment_id: INTEGER(11),
    created_at: INTEGER(11),
    updated_at: INTEGER(11),
    rank: INTEGER(11)
  });

  return KnowledgeExperimentMap;
};